<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ include file="/WEB-INF/view/common/talent-header.jspf" %>
<c:if test="${!empty msg }">
	<div class="alert alert-warning alert-dismissible" role="alert">
	  <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
	 <strong>${msg }</strong>
	</div>
</c:if>
	<div style="width:500px;margin:100px auto">
	 <h1>企业登录</h1>
	 <hr>
		<form class="form-horizontal" role="form" action="<%=request.getContextPath() %>/CompanyServlet?command=login" method="post">
		  <div class="form-group">
		    <label for="code" class="col-sm-2 control-label">帐号：</label>
		    <div class="col-sm-10">
		      <input type="text" class="form-control" id="code" name="code" placeholder="请输入帐号" value="${code }">
		    </div>
		  </div>
		  <div class="form-group">
		    <label for="password" class="col-sm-2 control-label">密码：</label>
		    <div class="col-sm-10">
		      <input type="password" class="form-control" id="password" name="password" placeholder="请输入密码">
		    </div>
		  </div>
		  <div class="form-group">
		    <div class="col-sm-offset-2 col-sm-10">
		      <div class="checkbox">
		        <label>
		          <input type="checkbox"> 记住密码
		        </label>
		      </div>
		    </div>
		  </div>
		    <div class="form-group">
		         <input type="text" name="validateCode" style="width:100px;height:35px;font-size: 18px" maxlength="4" autocomplete="off">
		         <img src="GetCaptcha" alt="验证码" name="checkImg" id="checkImg" style="position:relative; top:5px; left:20px; " onClick="document.getElementById('checkImg').src='GetCaptcha?temp='+ (new Date().getTime().toString(36)); return false"/>
	         </div>
		  <div class="form-group">
		    <div class="col-sm-offset-2 col-sm-10">
		      <button type="submit" class="btn btn-info btn-lg">登录</button>
		    </div>
		  </div>
		   <a href="<%=request.getContextPath()%>/ForgetPwdServlet?command=toInputEmailUI">忘了密码？</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	        	 没有帐号？<a href="<%=request.getContextPath()%>/CompanyServlet?command=toRegisterUI">注册</a>
		</form>
	</div>
	<%@ include file="/WEB-INF/view/common/footer.jspf" %>